//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Eric Clapton','Utilita Arena Newcastle','Newcastle Upon Tyne, United Kingdom','Thursday','5/9/2024','TBD','5771524','Eric-Clapton-5-9-2024'],['Eric Clapton','M&S Bank Arena','Liverpool, United Kingdom','Saturday','5/11/2024','TBD','5771525','Eric-Clapton-5-11-2024'],['Forever Man - Eric Clapton Tribute','Rialto Theatre - CO','Loveland, CO','Saturday','5/11/2024','6:30 PM','6381294','Forever-Man---Eric-Clapton-Tribute-5-11-2024'],['Down to the Crossroads - Celebrating The Music of Eric Clapton','The Cutting Room','New York, NY','Saturday','5/11/2024','7:00 PM','6361679','Down-to-the-Crossroads---Celebrating-The-Music-of-Eric-Clapton-5-11-2024'],['Eric Clapton','Resorts World Arena','Birmingham, United Kingdom','Monday','5/13/2024','TBD','5771526','Eric-Clapton-5-13-2024'],['Eric Clapton','Co-Op Live','Manchester, United Kingdom','Saturday','5/18/2024','7:30 PM','6209051','Eric-Clapton-5-18-2024'],['Eric Clapton','Royal Albert Hall','London, United Kingdom','Monday','5/20/2024','7:30 PM','5759167','Eric-Clapton-5-20-2024'],['Eric Clapton','Royal Albert Hall','London, United Kingdom','Tuesday','5/21/2024','7:30 PM','5759168','Eric-Clapton-5-21-2024'],['Eric Clapton','Royal Albert Hall','London, United Kingdom','Thursday','5/23/2024','7:30 PM','5759169','Eric-Clapton-5-23-2024'],['Eric Clapton','Royal Albert Hall','London, United Kingdom','Friday','5/24/2024','7:30 PM','5759170','Eric-Clapton-5-24-2024'],['Eric Clapton','Accor Arena','Paris 12, France','Sunday','5/26/2024','TBD','6209052','Eric-Clapton-5-26-2024'],['Eric Clapton','Accor Arena','Paris 12, France','Monday','5/27/2024','TBD','6209053','Eric-Clapton-5-27-2024'],['Eric Clapton','LDLC Arena','Le Molard, France','Wednesday','5/29/2024','TBD','6209054','Eric-Clapton-5-29-2024'],['Lucca Summer Festival: Eric Clapton','Piazza Napoleone - Lucca','Lucca, Italy','Sunday','6/2/2024','TBD','6353513','Lucca-Summer-Festival--Eric-Clapton-6-2-2024'],['Texas Flood','Des Plaines Theatre','Des Plaines, IL','Friday','7/12/2024','8:00 PM','6377430','Texas-Flood-7-12-2024'],['Eric Clapton','Estadio De Velez Sarsfield','Buenos Aires, Argentina','Friday','9/20/2024','TBD','6353510','Eric-Clapton-9-20-2024'],['Eric Clapton','Arena da Baixada - Curitiba','Curitiba, Brazil','Tuesday','9/24/2024','TBD','6209056','Eric-Clapton-9-24-2024'],['Eric Clapton','Jeunesse Arena','Rio de Janeiro, Brazil','Thursday','9/26/2024','TBD','6209058','Eric-Clapton-9-26-2024'],['Eric Clapton','Jeunesse Arena','Rio de Janeiro, Brazil','Friday','9/27/2024','TBD','6353511','Eric-Clapton-9-27-2024'],['Journeyman - A Tribute To Eric Clapton','Riviera Theatre - NY','North Tonawanda, NY','Friday','9/27/2024','7:30 PM','6374948','Journeyman---A-Tribute-To-Eric-Clapton-9-27-2024'],['Eric Clapton','Allianz Parque','São Paulo, Brazil','Sunday','9/29/2024','TBD','6209057','Eric-Clapton-9-29-2024'],['Eric Clapton','Estadio Foro Sol','Iztacalco, Mexico','Thursday','10/3/2024','TBD','6353512','Eric-Clapton-10-3-2024'],['Eric Clapton','Pechanga Arena - San Diego','San Diego, CA','Tuesday','10/8/2024','7:30 PM','6354715','Eric-Clapton-10-8-2024'],['Eric Clapton','Acrisure Arena','Thousand Palms, CA','Thursday','10/10/2024','7:30 PM','6353767','Eric-Clapton-10-10-2024'],['Eric Clapton','Hollywood Bowl','Los Angeles, CA','Saturday','10/12/2024','7:30 PM','6353768','Eric-Clapton-10-12-2024'],['Journeyman - Tribute to Eric Clapton','Sellersville Theater 1894','Sellersville, PA','Thursday','3/5/2071','8:00 PM','4325332','Journeyman---Tribute-to-Eric-Clapton-3-5-2071']],'Eric Clapton','http://www.ticketnetwork.com/ticket/Eric-Clapton-events.aspx');